package com.nowcoder.community.entity;

import java.io.Serializable;
import lombok.Data;
import java.util.Date;

@Data
public class Comment  implements Serializable {

	private static final long serialVersionUID =  2777722952430319227L;

   
	private int id;

	private int userId;

	// 评论指向对象的类型
	private int entityType;

    // 评论指向对象的id
	private int entityId;

    // 评论指向对象的目标(其他评论的发表人)
	private int targetId;

	private String content;

	private int status;

	private Date createTime;

}
